package com.g5kj.coupon.ssm.model;

import java.util.Date;

/**
 * Created by apple on 2017/5/19.
 * `id` int(11) NOT NULL AUTO_INCREMENT,
 `name` varchar(64) NOT NULL,
 `thum` varchar(255) DEFAULT NULL COMMENT '背景图，缩略图',
 `body` text,
 `original_price` decimal(11,2) NOT NULL DEFAULT '0.00' COMMENT '原价，市场价',
 `realt_price` decimal(11,2) NOT NULL DEFAULT '0.00' COMMENT '折扣价，实价',
 `create_time` datetime DEFAULT NULL,
 `update_time` datetime DEFAULT NULL,
 `sort` int(11) NOT NULL DEFAULT '0' COMMENT '排序',
 `is_delete` tinyint(1) NOT NULL DEFAULT '0',
 `is_close` tinyint(1) DEFAULT '0',
 `max_value` decimal(11,2) NOT NULL COMMENT '最大系数',
 `min_value` decimal(11,2) NOT NULL COMMENT '最小系数',
 */
public class CouponEntity {
    public int Id;
    public String name;
    public String thum;
    public String body;
    public float original_price;
    public float realt_price;
    public int sort;
    public int is_delete;
    public int is_close;
    public int max_value;
    public int min_value;

    public Date create_time;
    public Date update_time;


    public int getId() {
        return Id;
    }

    public void setId(int id) {
        Id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getThum() {
        return thum;
    }

    public void setThum(String thum) {
        this.thum = thum;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public float getOriginal_price() {
        return original_price;
    }

    public void setOriginal_price(float original_price) {
        this.original_price = original_price;
    }

    public float getRealt_price() {
        return realt_price;
    }

    public void setRealt_price(float realt_price) {
        this.realt_price = realt_price;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public int getIs_delete() {
        return is_delete;
    }

    public void setIs_delete(int is_delete) {
        this.is_delete = is_delete;
    }

    public int getIs_close() {
        return is_close;
    }

    public void setIs_close(int is_close) {
        this.is_close = is_close;
    }

    public int getMax_value() {
        return max_value;
    }

    public void setMax_value(int max_value) {
        this.max_value = max_value;
    }

    public int getMin_value() {
        return min_value;
    }

    public void setMin_value(int min_value) {
        this.min_value = min_value;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }
}
